package com.yc.storage.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.yc.base.BaseService;
import com.yc.storage.entity.FileStorage;

import java.util.List;
/**
 * <p>
 * 文件管理 服务类
 * </p>
 *
 * @author bao
 * @since 2022-04-10
 */
public interface IFileStorageService extends BaseService<FileStorage> {

    String create(String path);

    boolean create(FileStorage fileStorage);

    boolean delete(List<Long> ids);

    boolean update(FileStorage fileStorage);

    FileStorage queryById(Long id);

    List<FileStorage> selectList();

    IPage<FileStorage> selectPage(IPage<FileStorage> page);

}
